import axios from '@/utils/request'
export const getNewsList = () => {
    return axios({
        url: '/api/getnewslist',

    })
}

export const getNewsDetial = (id) => {
    return axios({
        url: `/api/getnew/${id}`,

    })
}


export const getpostListByCategory = (cateid) => {
    return axios({
        url: '/api/getimages/' + cateid,

    })
}


export const getthumimages = (imgid) => {
    return axios({
        url: '/api/getthumimages/' + imgid,

    })
}
